package com.ufgov.zc.client.util;import java.util.ArrayList;import java.util.List;import javax.swing.JTable;public class ListUtil {  /**   *    * @param dataList   * @param view 必须保证当前view 是由dataList 生成的,view与dataList数据要保证一致性    * @return   */  public static List convertToTableViewOrderList(List dataList, JTable view) {    List viewOrderList = new ArrayList();    int rowCount = view.getRowCount();    for (int row = 0; row < rowCount; row++) {      viewOrderList.add(dataList.get(view.convertRowIndexToModel(row)));    }    return viewOrderList;  }}